
TARGETS=clc-offline

LIBS=-lOpenCL
INCPATH=${AMDAPPSDKROOT}/include
LIBPATH=${AMDAPPSDKROOT}/lib/x86_64
CXXFLAGS=-O2

%.o:%.cc
	$(CXX) -o $@ -I'${INCPATH}' ${CXXFLAGS} -c $<


all: ${TARGETS}

clc-offline: clc-offline.o
	$(CXX) -o $@ $< -L'${LIBPATH}' ${LIBS}

clean:
	rm -f *.o
	rm -f *~
	rm -f #*#
